package top.hzy520.service;

import top.hzy520.dao.UserStateDaoImpl;
import top.hzy520.dto.UserStateDto;
import top.hzy520.entity.UserState;

import java.util.ArrayList;
import java.util.List;

public class UserStateServiceImpl implements UserStateService {
    UserStateDaoImpl userStateDao=new UserStateDaoImpl();
    @Override
    public List<UserStateDto> findUserstateByUserid(Long userid) {
        List<UserStateDto> userStateList=userStateDao.findUserStateByUserid(userid);
        return userStateList;
    }
}
